package cn.sxt.clinic.service;

import cn.sxt.clinic.pojo.Registered;
import com.baomidou.mybatisplus.core.conditions.Wrapper;
import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.core.toolkit.Constants;
import com.baomidou.mybatisplus.extension.service.IService;
import org.apache.ibatis.annotations.Param;

import java.util.List;
import java.util.Map;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author ${author}
 * @since 2020-06-29
 */
public interface IRegisteredService extends IService<Registered> {
    IPage<Registered> selectRegistered(IPage<Registered> page, @Param(Constants.WRAPPER) Wrapper wrapper);

    List<Map<String,Object>> getRegistered(IPage<Map<String,Object>> page, QueryWrapper wrapper);

}
